<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>02_边框与内间距测试</title>
    <style>
        .d1 {
            width: 200px;
            height: 200px;
            background-color: #0aa1ed;
            border: 5px solid #f00;
            border-radius: 100px;

        }

        .d2 {
            width: 200px;
            height: 60px;
            background-color: cyan;
            border-radius: 30px;
        }

        .d3 {
            width: 200px;
            height: 100px;
            background-color: purple;
            border-radius: 100px/50px;
        }

        .d4 {
            width: 200px;
            height: 200px;
            background-color: lightsalmon;
            border: 10px solid #000;
            padding-left: 50px;
            margin: 50px;
            box-sizing: border-box;
        }

        span {
            background-color: rgba(255, 0, 0, 0.5);
        }

        .s2 {
            padding: 50px;
        }
    </style>
</head>
<body>
<span>span1</span><span class="s2">span2</span><span>span3</span>
<div class="d1">111</div>
<div class="d2">222</div>
<div class="d3">333</div>
<div class="d4">444</div>
</body>
</html>